package chenji.yourticket.configuration.configurations;

import chenji.yourticket.configuration.ConfigException;
import chenji.yourticket.configuration.KConfiguration;

public class MessageConfig extends KConfiguration {
	private String Perfix;
	private String Command_Help;
	private String No_Permssion;
	private String Player_Only;
	private String Model_Title;
	private String Item_Close_Title;
	private String Item_Close_Lore;
	private String Item_AddModel_Title;
	private String Item_AddModel_Lore;
	private String Mode_DeleteModel_Title;
	private String Item_DisplyModel_Title;
	private String Item_DisplyModel_Lore_WithoutNode;
	private String Item_NextPage_Title;
	private String Item_NextPage_Lore;
	private String Item_UpPage_Title;
	private String Item_UpPage_Lore;
	private String Message_UnkonwException;
	private String Item_DisplyMaterial_Title;
	private String Item_DisplyMaterial_Lore;
	private String MaterialChooseInventory_Title;
	private String Editor_Title_First;
	private String Editor_Title;
	private String Contains;
	private String Item_NowStyle_Title;
	private String Item_NowStyle_Lore;
	private String Item_EidtorInfo_Title;
	private String Item_EidtorInfo_Lore;
	private String Item_Press_Title;
	private String Item_Press_Lore;
	private String Item_Operation_Title;
	private String Unknown_Exception_ConnotFindMaterial;
	private String Item_SetDisplayName_Title;
	private String Item_SetDisplayName_Lore;
	private String Item_AddLore_Title;
	private String Item_AddLore_Lore;
	private String Message_Enter_DisplayName;
	private String Item_RemoveLore_Title;
	private String Item_RemoveLore_Lore;
	private String Message_Enter_RemoveLine;
	private String Message_Enter_Lore;
	private String Item_Save_Title;
	private String Item_Info_Title;
	private String Item_Info_Lore;
	private String Item_AddLoreFiled_Title;
	private String Item_AddLoreFiled_Lore;
	private String Action_Title;
	private String Item_Edit_Title;
	private String Item_Edit_Lore;
	private String Press_Title;
	private String Item_Add_Title;
	private String Item_Add_Lore;
	private String Item_Add10_Title;
	private String Item_Add10_Lore;
	private String Item_Lessen_Lore;
	private String Item_Lessen10_Title;
	private String Item_Lessen10_Lore;
	private String Item_Lessen_Title;
	private String Item_clickToPress;
	private String Item_Add_Lore_VIP;
	private String Item_Back_Title;
	private String Item_Back_Lore;
	private String Message_Enter_Name;
	private String Item_CannotPress_Title;
	private String Item_CannotPress_Lore;
	private String Item_CannotCreate_Title;
	private String Item_CannotCreate_Lore;
	private String Message_CannotCreate;
	private String Message_UnknownModel;
	private String Message_RemoveDone;
	private String Item_NowStyle_Press_Title;
	private String Item_NowStyle_Press_Lore;
	private String Message_Limit_length;
	private String Message_Limit_Lore;
	private String Message_Invalid_Number;
	private String Message_Invalid_Line;
	private String Message_CannotChenge;
	public MessageConfig() throws ConfigException {
		super("Message.yml", true, "成功创建Message.yml", "无法创建Message.yml");
		loadConfig();
	}

	@Override
	public void loadConfig() {
		this.Perfix = getConfig().getString("perfix").replaceAll("&", "§");
		this.Item_CannotPress_Title = this.getString("Item_CannotPress_Title");
		this.Item_CannotPress_Lore = this.getString("Item_CannotPress_Lore");
		this.Message_Enter_Name = this.getString("Message_Enter_Name");
		this.Item_Back_Title = this.getString("Item_Back_Title");
		this.Item_Back_Lore = this.getString("Item_Back_Lore");
		this.Message_Enter_RemoveLine = this.getString("Message_Enter_RemoveLine");
		this.Item_SetDisplayName_Title = this.getString("Item_SetDisplayName_Title");
		this.Message_Enter_Lore = this.getString("Message_Enter_Lore");
		this.Message_Enter_DisplayName = this.getString("Message_Enter_DisplayName");
		this.Item_SetDisplayName_Lore = this.getString("Item_SetDisplayName_Lore");
		this.Item_AddLore_Title = this.getString("Item_AddLore_Title");
		this.Item_AddLore_Lore = this.getString("Item_AddLore_Lore");
		this.Item_DisplyModel_Title = this.getString("Item_DisplyModel_Title");
		this.Item_RemoveLore_Lore = this.getString("Item_RemoveLore_Lore");
		this.Item_NowStyle_Title = this.getString("Item_NowStyle_Title");
		this.Item_NowStyle_Lore = this.getString("Item_NowStyle_Lore");
		this.Item_EidtorInfo_Title = this.getString("Item_EidtorInfo_Title");
		this.Item_EidtorInfo_Lore = this.getString("Item_EidtorInfo_Lore");
		this.Item_Press_Title = this.getString("Item_Press_Title");
		this.Item_Press_Lore = this.getString("Item_Press_Lore");
		this.Item_Operation_Title = this.getString("Item_Operation_Title");
		this.Editor_Title_First = this.getString("Editor_Title_First");
		this.Unknown_Exception_ConnotFindMaterial = this.getString("Unknown_Exception_ConnotFindMaterial");
		this.Editor_Title = this.getString("Editor_Title");
		this.Contains = this.getString("Contains");
		this.No_Permssion = this.getString("No_Permission");
		this.Command_Help = this.getString("Command_Help");
		this.Message_UnkonwException = this.getString("Message_UnkonwException");
		this.Player_Only = this.getString("Player_Only");
		this.Model_Title = this.getString("Model_Title");
		this.Item_Close_Lore = this.getString("Item_Close_Lore");
		this.Item_Close_Title = this.getString("Item_Close_Title");
		this.Item_AddModel_Title = this.getString("Item_AddModel_Title");
		this.Item_AddModel_Lore = this.getString("Item_AddModel_Lore");
		this.Item_DisplyModel_Lore_WithoutNode = this.getString("Item_DisplyModel_Lore_WithoutNode");
		this.Item_NextPage_Title = this.getString("Item_NextPage_Title");
		this.Item_NextPage_Lore = this.getString("Item_NextPage_Lore");
		this.Item_UpPage_Lore = this.getString("Item_UpPage_Lore");
		this.Item_UpPage_Title = this.getString("Item_UpPage_Title");
		this.Item_DisplyMaterial_Title = this.getString("Item_DisplyMaterial_Title");
		this.Item_DisplyMaterial_Lore = this.getString("Item_DisplyMaterial_Lore");
		this.MaterialChooseInventory_Title = this.getString("MaterialChooseInventory_Title");
		this.Item_Save_Title = this.getString("Item_Save_Title");
		this.Item_RemoveLore_Title = this.getString("Item_RemoveLore_Title");
		this.Item_Info_Title = this.getString("Item_Info_Title");
		this.Item_Info_Lore = this.getString("Item_Info_Lore");
		this.Item_AddLoreFiled_Title = this.getString("Item_AddLoreFiled_Title");
		this.Item_AddLoreFiled_Lore = this.getString("Item_AddLoreFiled_Lore");
		this.Action_Title = this.getString("Action_Title");
		this.Item_Edit_Title = this.getString("Item_Edit_Title");
		this.Item_Edit_Lore = this.getString("Item_Edit_Lore");
		this.Press_Title = this.getString("Press_Title");
		this.Item_Add_Title = this.getString("Item_Add_Title");
		this.Item_Add_Lore = this.getString("Item_Add_Lore");
		this.Item_Add10_Title = this.getString("Item_Add10_Title");
		this.Item_Add10_Lore = this.getString("Item_Add10_Lore");
		this.Item_Lessen_Title = this.getString("Item_Lessen_Title");
		this.Item_Lessen_Lore = this.getString("Item_Lessen_Lore");
		this.Item_Lessen10_Title = this.getString("Item_Lessen10_Title");
		this.Item_Lessen10_Lore = this.getString("Item_Lessen10_Lore");
		this.Item_clickToPress = this.getString("Item_clickToPress");
		this.Item_Add_Lore_VIP = this.getString("Item_Add_Lore_VIP");
		this.Item_CannotCreate_Title = this.getString("Item_CannotCreate_Title");
		this.Item_CannotCreate_Lore = this.getString("Item_CannotCreate_Lore");
		this.Message_CannotCreate = this.getString("Message_CannotCreate");
		this.Message_UnknownModel = this.getString("Message_UnknownModel");
		this.Message_RemoveDone = this.getString("Message_RemoveDone");
		this.Item_NowStyle_Press_Title = this.getString("Item_NowStyle_Press_Title");
		this.Item_NowStyle_Press_Lore = this.getString("Item_NowStyle_Press_Lore");
		
		this.Message_Limit_length = this.getString("Message_Limit_length");
		this.Message_Limit_Lore = this.getString("Message_Limit_Lore");
		this.Message_Invalid_Number = this.getString("Message_Invalid_Number");
		this.Message_Invalid_Line = this.getString("Message_Invalid_Line");
		this.Message_CannotChenge = this.getString("Message_CannotChenge");

	}

	public String getMessage_Limit_length() {
		return this.Message_Limit_length;
	}

	public String getMessage_Limit_Lore() {
		return this.Message_Limit_Lore;
	}

	public String getMessage_Invalid_Number() {
		return this.Message_Invalid_Number;
	}

	public String getMessage_Invalid_Line() {
		return this.Message_Invalid_Line;
	}

	public String getMessage_CannotChenge() {
		return this.Message_CannotChenge;
	}

	public String getItem_NowStyle_Press_Title() {
		return this.Item_NowStyle_Press_Title;
	}

	public String getItem_NowStyle_Press_Lore() {
		return this.Item_NowStyle_Press_Lore;
	}

	public String getMessage_RemoveDone() {
		return this.Message_RemoveDone;
	}

	public String getMessage_UnknownModel() {
		return this.Message_UnknownModel;
	}

	public String getItem_CannotCreate_Title() {
		return this.Item_CannotCreate_Title;
	}

	public String getItem_CannotCreate_Lore() {
		return this.Item_CannotCreate_Lore;
	}

	public String getMessage_CannotCreate() {
		return this.Message_CannotCreate;
	}

	public String getMessage_Enter_Name() {
		return this.Message_Enter_Name;
	}

	public String getItem_CannotPress_Lore() {
		return this.Item_CannotPress_Lore;
	}

	public String getItem_CannotPress_Title() {
		return this.Item_CannotPress_Title;
	}

	public String getItem_Back_Title() {
		return this.Item_Back_Title;
	}

	public String getItem_Back_Lore() {
		return this.Item_Back_Lore;
	}

	public String getItem_Add_Lore_VIP() {
		return this.Item_Add_Lore_VIP;
	}

	public String getPress_Title() {
		return this.Press_Title;
	}

	public String getItem_Add_Title() {
		return this.Item_Add_Title;
	}

	public String getItem_Add_Lore() {
		return this.Item_Add_Lore;
	}

	public String getItem_Add10_Title() {
		return this.Item_Add10_Title;
	}

	public String getItem_Add10_Lore() {
		return this.Item_Add10_Lore;
	}

	public String getItem_Lessen_Title() {
		return this.Item_Lessen_Title;
	}

	public String getItem_Lessen_Lore() {
		return this.Item_Lessen_Lore;
	}

	public String getItem_Lessen10_Title() {
		return this.Item_Lessen10_Title;
	}

	public String getItem_Lessen10_Lore() {
		return this.Item_Lessen10_Lore;
	}

	public String getItem_clickToPress() {
		return this.Item_clickToPress;
	}

	public String getAction_Title() {
		return this.Action_Title;
	}

	public String getItem_Edit_Title() {
		return this.Item_Edit_Title;
	}

	public String getItem_Edit_Lore() {
		return this.Item_Edit_Lore;
	}

	public String getItem_AddLoreFiled_Title() {
		return this.Item_AddLoreFiled_Title;
	}

	public String getItem_AddLoreFiled_Lore() {
		return this.Item_AddLoreFiled_Lore;
	}

	public String getItem_Info_Title() {
		return this.Item_Info_Title;
	}

	public String getItem_Info_Lore() {
		return this.Item_Info_Lore;
	}

	public String getItem_Save_Title() {
		return this.Item_Save_Title;
	}

	public String getItem_RemoveLore_Title() {
		return this.Item_RemoveLore_Title;
	}

	public String getItem_RemoveLore_Lore() {
		return this.Item_RemoveLore_Lore;
	}

	public String getMessage_Enter_RemoveLine() {
		return this.Message_Enter_RemoveLine;
	}

	public String getMessage_Enter_Lore() {
		return this.Message_Enter_Lore;
	}

	public String getMessage_Enter_DisplayName() {
		return this.Message_Enter_DisplayName;
	}

	public String getItem_SetDisplayName_Title() {
		return this.Item_SetDisplayName_Title;
	}

	public String getItem_SetDisplayName_Lore() {
		return this.Item_SetDisplayName_Lore;
	}

	public String getItem_AddLore_Title() {
		return this.Item_AddLore_Title;
	}

	public String getItem_AddLore_Lore() {
		return this.Item_AddLore_Lore;
	}

	public String getItem_NowStyle_Title() {
		return this.Item_NowStyle_Title;
	}

	public String getItem_NowStyle_Lore() {
		return this.Item_NowStyle_Lore;
	}

	public String getItem_EidtorInfo_Title() {
		return this.Item_EidtorInfo_Title;
	}

	public String getItem_EidtorInfo_Lore() {
		return this.Item_EidtorInfo_Lore;
	}

	public String getItem_Press_Title() {
		return this.Item_Press_Title;
	}

	public String getItem_Press_Lore() {
		return this.Item_Press_Lore;
	}

	public String getItem_Operation_Title() {
		return this.Item_Operation_Title;
	}

	public String getUnknown_Exception_ConnotFindMaterial() {
		return this.Unknown_Exception_ConnotFindMaterial;
	}

	public String getMaterialChooseInventory_Title() {
		return this.MaterialChooseInventory_Title;
	}

	public String getEditor_Title() {
		return this.Editor_Title;
	}

	public String getContains() {
		return this.Contains;
	}

	public String getEditor_Title_First() {
		return this.Editor_Title_First;
	}

	public String getItem_DisplyMaterial_Title() {
		return this.Item_DisplyMaterial_Title;
	}

	public String getItem_DisplyMaterial_Lore() {
		return this.Item_DisplyMaterial_Lore;
	}

	public String getMessage_UnkonwException() {
		return this.Message_UnkonwException;
	}

	public String getItem_UpPage_Lore() {
		return this.Item_UpPage_Lore;
	}

	public String getItem_UpPage_Title() {
		return this.Item_UpPage_Title;
	}

	public String getItem_NextPage_Lore() {
		return this.Item_NextPage_Lore;
	}

	public String getItem_NextPage_Title() {
		return this.Item_NextPage_Title;
	}

	public String getItem_DisplyModel_Lore_WithoutNode() {
		return this.Item_DisplyModel_Lore_WithoutNode;
	}

	public String getItem_DisplyModel_Title() {
		return this.Item_DisplyModel_Title;
	}

	private String getString(String Path) {
		return this.getConfig().getString(Path).replaceAll("%perfix%", this.Perfix).replaceAll("&", "§");
	}

	public String getCommand_Help() {
		return this.Command_Help;
	}

	public String getNo_Permsssion() {
		return this.No_Permssion;
	}

	public String getPlayer_Only() {
		return this.Player_Only;
	}

	public String getModel_Title() {
		return this.Model_Title;
	}

	public String getItem_Close_Lore() {
		return this.Item_Close_Lore;
	}

	public String getMode_DeleteModel_Title() {
		return this.Mode_DeleteModel_Title;
	}

	public String getItem_AddModel_Title() {
		return this.Item_AddModel_Title;
	}

	public String getItem_AddModel_Lore() {
		return this.Item_AddModel_Lore;
	}

	public String getItem_Close_Title() {
		return this.Item_Close_Title;
	}
}
